<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" />
		<meta name="apple-wap-web-app-capable" content="yes">
		<meta name="apple-wap-web-app-status-bar-style" content="black-translucent">
		<meta name="MobileOptimized" content="240"/>
		<title>战队报名</title>
		<link rel="stylesheet" href="$!webPath/css/reset.css" />
		<link rel="stylesheet" href="$!webPath/css/style.css" />
		<link rel="stylesheet" href="$!webPath/css/style_my.css" />
	</head>
	<body>
		<div class="all">
			<div class="examine_game">
				<h2>$!activity.activityName</h2>
				<p>场地<span>$!activity.activityLocation</span></p>
				<p>时间<span>$!activity.activityTime</span></p>
			</div>
			<div class="team_apply_2_c">参赛队伍 $!teamNum/$!activity.teamUpperLimit</div>
  	 <div class="team_apply_2_team">
        <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
            	<th width="9%" align="center"></th>
                <th width="15%" align="center">战队</th>
                <th width="20%" align="center">所在地</th>
                <th width="13%" align="center">胜场</th>
                <th width="13%" align="center">败场</th>
                <th width="15%" align="center">积分</th>
                <th width="15%" align="center">状态</th>
            </tr>
            #foreach($obj in $!teamEntities)
            <tr>
                <td>
                    #if($!obj.logoPath)
                    <img width="16px" src="$!webPath/$!obj.logoPath">
                    #else
                    <img width="16px" src="$!webPath/imgs/member.jpg">
                    #end
                </td>
                <td >
                    $!obj.name
                </td>
                <td>
                    $!obj.location
                </td>
                <td>
                    $!obj.winNum
                </td>
                <td>
                    $!obj.loseNum
                </td>
                <td>
                    $!obj.teamIntegral
                </td>
                <td>
                     #if($!obj.logoPath)
                     已报名
                     #else
                     <a src="" class="green" style="text-decoration:underline">报名中</a>
                     #end
                </td>
            </tr>
            #end
        </table>
    </div>
    		<div class="team_apply_2_z">我的战队 #if(!$!ownTeam)<span class="red">你给还没有加入战队</span>#elseif(!$!isCaption)<span class="red">您不是队长，请联系队长报名</span>#end</div>
			<div class="team_apply_2_footer">
                #if($!ownTeam.logoPath)
                <img width="16px" src="$webPath$!ownTeam.logoPath"/>
                #else
				<img width="16px" src="$!webPath/imgs/member.jpg"/>
                #end
				<p>$!ownTeam.name</p>
				<p>$!ownTeam.location</p>
				<p>$!ownTeam.winNum</p>
				<p>$!ownTeam.loseNum</p>
				<p>$!ownTeam.teamIntegral</p>
			</div>
            #if($!ownTeam && $!isCaption)
            <a href="$!webPath/activity/attendActivity?activityId=$!activity.id&teamId=$!ownTeam.id&userId=$!ownTeam.captionId" class="team_rule_footer_y">下一步</a>
            <!--<a href="$!webPath/activity/team_apply_2?activityId=$!activity.id" class="team_rule_footer_y">下一步</a>-->
            #else
            <a href="javascript:void(0)" class="team_rule_footer_g">下一步</a>
            #end
		</div>
	</body>
</html>